package zhaoyong.wang.tlias.service.impl;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Service;
import zhaoyong.wang.tlias.pojo.Emp;
import zhaoyong.wang.tlias.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

@Service
public interface EmpService {
    PageBean page(Integer page, Integer pageSize,String name,Short gender,LocalDate begin,LocalDate end);

    void delete(List<Integer> ids);

    void insert(Emp emp);

    Emp getByid(Integer id);


    void update(Emp emp);

    Emp login(Emp emp);
}
